package com.fypg.module.blooddonation.api.client.dal.bloodPlatform;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 献血者核查数据
 *
 * @author 盘古
 */
@Data
@Schema(description = "献血者核查数据")
public class DonorChkData {

    /**
     * 拒绝献血类型
     * YJHMD:停止献血, ZHHMD：暂缓, 0000：间隔期不足, TOOMUCH：全年献血次数超量, OVERVOL：全年献血量超量
     */
    @Schema(description = "拒绝献血类型", example = "0000")
    private String donStatus;

    /**
     * 姓名
     */
    @Schema(description = "姓名", example = "张三")
    private String name;

    /**
     * 性别
     * 1:男 2:女 9:未知
     */
    @Schema(description = "性别：1-男 2-女 9-未知", example = "1")
    private String sex;

    /**
     * 生日
     * 格式：yyyy-MM-dd
     */
    @Schema(description = "生日", example = "1990-01-01")
    private String birthday;

    /**
     * ABO血型
     * A、B、AB、O
     */
    @Schema(description = "ABO血型", example = "A")
    private String abo;

    /**
     * Rh血型
     * +、-
     */
    @Schema(description = "Rh血型", example = "+")
    private String rhd;

    /**
     * 最后献血时间
     * 格式：yyyy-MM-dd HH:mm:ss
     */
    @Schema(description = "最后献血时间", example = "2023-06-15 10:30:00")
    private String lastDonDate;

    /**
     * 淘汰原因
     */
    @Schema(description = "淘汰原因", example = "手工屏蔽")
    private String discardReason;

    /**
     * 最后献血类型
     * 0：全血 1：机采
     */
    @Schema(description = "最后献血类型：0-全血 1-机采", example = "0")
    private String lastDonType;

    /**
     * 采全血次数
     */
    @Schema(description = "采全血次数", example = "2")
    private String gwbCount;

    /**
     * 采全血血量
     * 单位：毫升
     */
    @Schema(description = "采全血血量（毫升）", example = "400")
    private String gwbVol;

    /**
     * 机采次数
     */
    @Schema(description = "机采次数", example = "0")
    private String gbcCount;

    /**
     * 机采血量
     * 单位：毫升
     */
    @Schema(description = "机采血量（毫升）", example = "0")
    private String gbcVol;

    /**
     * 献血次数
     */
    @Schema(description = "献血次数", example = "2")
    private String donCount;

    /**
     * 献血血量
     * 单位：毫升
     */
    @Schema(description = "献血血量（毫升）", example = "400")
    private String donVol;

    /**
     * 最后献血机构编码
     */
    @Schema(description = "最后献血机构编码", example = "01301")
    private String lastDonOrg;

    /**
     * 最后献血机构名称
     */
    @Schema(description = "最后献血机构名称", example = "XX省血液中心")
    private String lastBhgOrgName;

    /**
     * 允许献血时间
     * 格式：yyyy-MM-dd HH:mm:ss
     */
    @Schema(description = "允许献血时间", example = "2023-12-15 00:00:00")
    private String allowDonDate;
}
